package org.nci.platform.workflow.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import gh.priv.general.common.dto.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 流程监听对象 sys_listener
 *
 * @author Tony
 * @date 2022-12-25
 */
@Setter
@Getter
public class SysListenerPageQuery extends PageQuery {
    

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 监听类型
     */
    @Schema(description = "监听类型")
    private String type;

    /**
     * 事件类型
     */
    @Schema(description = "事件类型")
    private String eventType;

    /**
     * 值类型
     */
    @Schema(description = "值类型")
    private String valueType;

    /**
     * 执行内容
     */
    @Schema(description = "执行内容")
    private String value;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private Integer status;
    
    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

   
}
